package com.chb.memento;

import java.util.ArrayList;
import java.util.List;

/**
 * @author chihb
 * @create-time 2024/10/26 8:49
 * @description
 */
public class Caretaker {
    List<Order> orderList=new ArrayList<>();

    public void add(Order order){
        orderList.add(order);
    }

    public Order get(int index){
        return orderList.get(index);
    }
}
